﻿<UserControl x:Class="GraphDrawer.GleeGraphDrawer"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
             xmlns:local="clr-namespace:GraphDrawer"
    Loaded="Page_Loaded" >
    <Grid>
        <Grid x:Name="MainCanvas" Background="White">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="160" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>
            
            <StackPanel x:Name="ControlPanel" Orientation="Vertical" Grid.Column="0" >
                <TextBlock>Choose layout:</TextBlock>
                <ComboBox Name="layoutChooser" Width="160" Height="20"  HorizontalAlignment="Right" SelectionChanged="LayoutChooser_SelectionChanged"></ComboBox>
                <Button Click="BalanceGraph_Click" Height="20" Content="Balance graph" Margin="0,20,0,0"></Button>
                <Button Click="SetAsRoot_Click" Height="20" Content="Set as root" Margin="0,20,0,0"></Button>
                <Button Click="Add_Click" Height="20" Content="Add" Margin="0,20,0,0"></Button>
                <Button Click="Remove_Click" Height="20" Content="Remove"></Button>
                <TextBlock>Choose node state:</TextBlock>
                <ComboBox Name="stateChooser" Height="20" SelectionChanged="StateChooser_SelectionChanged"></ComboBox>
                <TextBlock Margin="0,20,0,0">Choose centrality method:</TextBlock>
                <ComboBox Name="centralityChooser" Width="160"  Height="20"></ComboBox>
                <Button Click="ComputeCentrality_Click" Height="20" Content="Compute centrality" Name="computeCentrality"></Button>
                <Button Click="NextStep_Click" Height="20" Content="Next Step" Margin="0,20,0,0" Name="nextStep" />
                <Button x:Name="Run" Click="Run_Click" Height="20" Content="Run"/>
                <StackPanel Orientation="Horizontal" Margin="5,5,0,0">
                    <TextBlock >
                Simulation number:
                    </TextBlock>
                    <TextBlock x:Name="lblSimulationNumber" Margin="10,0,0,0">

                    </TextBlock>
                </StackPanel>
                <TextBlock Margin="5">Zoom:</TextBlock>
                <Slider Name="zoom" Value="5" ValueChanged="Zoom_ValueChanged"></Slider>
                <StackPanel Name="legend" Margin="0,20,0,0" Orientation="Vertical">
                    <TextBlock>Legend:</TextBlock>
                </StackPanel>
            </StackPanel>
            
        </Grid>
        <local:PatientDetails x:Name="ditails" HorizontalAlignment="Right" Margin="0,20,0,0"/>
    </Grid>
</UserControl>